package com.starbaba.core.web.constant;

public class Constants {
	public static final String ADMIN = "CXWH01" ;
	
	public static final String ROLE_ID_START_VALUE = "10000";
	
	public static final String ROOT_MENU_ID = "00";
	
	/* 测试角色 */
	public static final String SYSTEM_TEST_ROLE_ID = "11000";

	/* 系统管理员  */
	public static final String SYSTEM_SYSTEM_MGR_ROLE_ID = "10001";
	
	/**
	 * 日志类型
	 * 1—数据采集；2—数据分发；3—ETL；4—报表运算
	 */
	public static final String LOG_TYPE_ETL = "3";
	
	/* 判断是否有验证码*/
	public static  boolean ISNEEDVOLICODE = false;
	/* 判断是否从配置页面进入到调度页面*/
	public static  boolean ISFROMCONFIG = true;
	public static  String JOBIDVALUE = "";//传递的值
	
	/* 登录提示信息 */
	public static final String ERRORMESSAGE_1 = "验证码不正确";
	public static final String ERRORMESSAGE_2 = "工号不存在或工号无效";
	public static final String ERRORMESSAGE_3 = "密码不正确";
	public static final String ERRORMESSAGE_4 = "请登录系统";
	public static final String ERRORMESSAGE_5 = "获取菜单失败";
	
	/**
	 * 告警状态
	 * 1-未处理，2-已处理	
	 */
	public static final int ALERT_FLAG_NO=1;
	public static final int ALERT_FLAG_YES=2;
	
	public static final String BASE_URL = "http://xmiles.cn";
	
	public static final String IMG_SERVER_URL = BASE_URL + "/img1/";
	
	
	/* 下面是cache的名称 */
	//本地磁盘缓存
	public final static String CACHE_NAME_DISK_CACHE_COMMON = "DISK_CACHE_COMMON";
}
